{include admin.inc.header}

{include admin.inc.top}

<div class="container-fluid content-body">
	<div class="main">
		{include admin.inc.menu}

		<section class="right-section" id="right-section">
			<!-- start of inner-frame -->
			<div class="inner-iframe">

				<ul class="breadcrumb">
					<li>
						<i class="glyphicon glyphicon-home"></i>
						<span>当前位置：</span>
						<a href="#">{$breadcrumb[0]}</a>
						<i class="glyphicon glyphicon-chevron-right"></i>
						<a href="#">{$breadcrumb[1]}</a>
					</li>
				</ul>

				<div class="inner-container">

					<!-- search form start -->
					<form class="form-inline form-search" role="form" id="search-form" autocomplete="off">

						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">操作人</div>
								<input  type="text" name="opt_name" value="{$params[opt_name]}" class="form-control input-sm">
							</div>
						</div>

						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">Action</div>
								<input  type="text" name="action" value="{$params[action]}" class="form-control input-sm">
							</div>
						</div>

						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">Method</div>
								<input  type="text" name="method" value="{$params[method]}" class="form-control input-sm">
							</div>
						</div>

						<div class="form-group">
							<div class="input-group">
								<div class="input-group-addon">操作时间</div>
								<div class="form-inline">
									<input type="text" name="starttime" value="{$params[starttime]}" class="form-control input-sm mdate" placeholder="开始日期">
									<input type="text" name="endtime" value="{$params[endtime]}" class="form-control input-sm mdate" placeholder="结束日期">
								</div>
							</div>
						</div>

						<button type="submit" class="btn btn-success btn-sm">
							<i class="glyphicon glyphicon-search"></i> 搜索</button>
						{data_export_btn}

					</form><!-- END search form -->

					<form id="J_List_Form" autocomplete="off">
						<div class="table-responsive">
							<table class="table table-bordered table-hover" id="J_List_Table">
								<thead>
								<tr>
									<th width="20"><input type="checkbox" class="icheck check-all" /></th>
									{loop $tableHeader $val}
									<th>{$val}</th>
									{/loop}
								</tr>
								</thead>
								<tbody>
								{if empty($items)}
								<tr>
									<td class="no-records text-center">{$noRecords}</td>
								</tr>
								{/if}
								{loop $items $value}
								<tr>
									<td><input type="checkbox" class="icheck" name="ids[]" id="checkbox_row_{$value[id]}" /></td>
									<td><label for="checkbox_row_{$value[id]}">{$value[opt_name]}</label></td>
									<td>{$value[action]}</td>
									<td>{$value[method]}</td>
									<td>{$value[opttype]}</td>
									<td style="max-width: 400px; overflow: hidden; word-break: break-all">{$value[content]}</td>
									<td>{$value[addtime]}</td>
									<td>{$value[ip]}</td>
								</tr>
								{/loop}
								</tbody>
							</table>
						</div>
					</form>

					<div class="text-right">
						{$pagemenu}
					</div>

				</div>

			</div><!-- end of inner -->
		</section>

	</div>
</div>

{include admin.inc.footer}

<script>
	seajs.use("manager", function(exports) {
		exports.init({
			set_url : '/admin/manager/set/'
		});
	});
</script>
</body>
</html>
